package  service.inter;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import  entity.ProduceExample;

public interface IProduceExampleService {
public ProduceExample save(ProduceExample produceExample);
	
	public boolean delete(String rowid);
	
	public boolean update(ProduceExample produceExample);
	
	public ProduceExample queryById(String rowid);
	
	
	public Map add(ProduceExample produceExample,HttpServletRequest request,HttpServletResponse response);
	
	public Map delete(String rowids,HttpServletRequest request,HttpServletResponse response);
	
	public Map update(String produceExample,String produceStepExample,HttpServletRequest request,HttpServletResponse response);

	public Map queryByBatchnum(String indexnum, String batchnum);
	
	public Map query(String start,String limit);
	
	public Map query(String rowid);
}
